<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<%@page import="java.util.Properties"%>
<%@page import="java.io.InputStream"%>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>

<%@ include file="/WEB-INF/jsp/common/include.jsp" %>

<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />

        <link rel="shortcut icon" href="<c:url value='/img/theme_Nova_favicon.ico' />" type="image/x-icon" />
        <title>Nova Technology Services</title>
        <link type="text/css" rel="stylesheet" media="all" href="<c:url value='/css/nt.css' />"></link>
        <link type="text/css" rel="stylesheet" media="all" href="<c:url value='/css/nts.css' />"></link>
        <script type="text/javascript" src="<c:url value='/js/jquery/jquery-1.4.2.min.js' />"></script>
        <script type="text/javascript" src="<c:url value='/js/jquery/jquery.bgiframe.min.js' />"></script>
        <script type="text/javascript" src="<c:url value='/js/jquery/jquery.validation.js' />"></script>
        
        <script type="text/javascript" src="<c:url value='/js/drupal.js' />"></script>
        <script type="text/javascript" src="<c:url value='/js/superfish.js' />"></script>  
        <script type="text/javascript" src="<c:url value='/js/nice_menus.js' />"></script>
        <script type="text/javascript" src="<c:url value='/js/supersubs.js' />"></script>
        
        <script type="text/javascript">
            jQuery.extend(Drupal.settings, {
                "basePath" : "/",
                "nice_menus_options" : {
                    "delay" : "800",
                    "speed" : "slow"
                }
            });
        </script>
        <script type="text/javascript">
            var loader = null;
            
            $(document).ready(function() {
                $('ul#superfish-1').supersubs({
                    minWidth : 12,
                    maxWidth : 27,
                    extraWidth : 1
                }).superfish({
                    delay : 1000,
                    animation : {
                        opacity : 'show',
                        height : 'show'
                    },
                    speed : 'normal',
                    autoArrows : false,
                    dropShadows : true
                }).find('ul').bgIframe({
                    opacity : false
                });
                
                
                loader = $('<div id="loader"><img src="' + '<c:url value="/img/loading.gif"/>' + '" alt="loading..." /></div>')
                         .css({position: "absolute", top: "50%", left: "50%"})
                         .appendTo("#loading-zone")
                         .hide();
            });
        </script>
        
        <decorator:head />
</head>

<body>
    <div id="loading-zone"></div>
    
    <div id="contenu">
        <table border="0" cellpadding="0" cellspacing="0" id="header">
            <tbody>
                <tr>
                    <td id="logo">
                        <div style="position: relative; height: 100%">
                            <a href="http://www.nova-technology.fr/" title="Accueil">
                            </a>
                            <div class="block block-search" id="block-search-0">
                                <h2 class="title"></h2>
                                <div class="content">
                        
                                </div>
                            </div>
                        </div>
                    </td>
                </tr>

                <tr>
                    <td colspan="2" id="header-menu">
                        <div>
                            <div class="block block-superfish" id="block-superfish-1">
                                <h2 class="title"></h2>
                                
                                <!-- MENU HAUT -->
                                <sec:authorize access="hasRole('CAN_ACCESS_APPLICATION_WEB')">      
                                    <jsp:include page="/WEB-INF/jsp/template/top_menu.jsp" />
                                </sec:authorize>
                            </div>
                        </div>
                    </td>
                </tr>
            </tbody>
        </table>

        <table border="0" cellpadding="0" cellspacing="0" id="table_menu">
            <tbody>
                <tr>
                    <td id="menu"></td>
                </tr>
            </tbody>
        </table>

        <div id="content-div">
            <decorator:body />
        </div>
    </div>
    
    <div id="footer">
        <div class="block block-block" id="block-block-2">
            <h2 class="title"></h2>
            <div class="content">
                Copyright © 2011 <b> NOVA TECHNOLOGY SERVICES</b> - Tous droits réservés. <br />
                
                <%
	                InputStream mf = application.getResourceAsStream("/META-INF/MANIFEST.MF");
	                Properties prop = new Properties();
	                
	                if(mf != null){
	                    prop.load(mf);
	                }
                %>
                Version <b><%= prop.getProperty("Implementation-Version","1.0.0") %></b>
            </div>
        </div>
    </div>
    </body>
</html>